/*
extern   uint8_t at_cpinq[];
extern   uint8_t at_cregQ[];
extern   uint8_t at_cgregQ[];
extern   uint8_t at_qimode[];
extern   uint8_t at_qicsgp[];
extern   uint8_t at_qicsgpQ[];
extern   uint8_t at_qiregapp[];
extern   uint8_t at_qiact[];
extern   uint8_t at_qilocip[];
extern   uint8_t at_atv1[];
extern   uint8_t at_qihead[];
extern   uint8_t at_qidnsip[];
extern   uint8_t at_qiopen[];
extern   uint8_t at_qisend21[];
extern   uint8_t mqtt_connect[];
extern   uint8_t at_qisend28[];
extern   uint8_t mqtt_publish[];
*/
#define ATID_CPINQ      1
#define ATID_CSQ        2
#define ATID_CGREGQ     3
#define ATID_QIMODE     4
#define ATID_QICSGP     5
#define ATID_QICSGPQ    6
#define ATID_QIREGAPP   7
#define ATID_QIACT      8
//#define ATID_QILOCIP    9
#define ATID_CIMI       9
#define ATID_ATV1       10
#define ATID_QIHEAD     11
#define ATID_QIDNSIP    12
#define ATID_QIOPEN     13
#define ATID_QISEND     14
//#define ATID_
//#define ATID_
//#define ATID_
#define ATID_ATRY       15
#define ATID_CLOSE      16
#define EXID_EJPF       17
#define EXID_JPB        18
#define EXID_WAIT_MS_EJP  19
#define EXID_WAIT_MS    20
#define EXID_WAIT_LS    21
#define EXID_POWER_ON   22
#define EXID_DATA_CON   23
#define EXID_DATA_PUB   24

#define EXID_EJPB       EXID_EJPF

#define EXID_CALL_GNSS  25
#define ATID_QIFGCNT    26
#define ATID_QGNSSTSQ   27
#define ATID_QGNSSEPO   28
#define ATID_QGNSSC     29
#define ATID_QGNSSRD    30
#define EXID_UNTIL_TIMEOUT 31
#define EXID_RET        32
#define EXID_GET_CONACK 33
#define EXID_GET_PUBACK 34
#define EXID_DATA_DISCON 35
#define EXID_CALL_REMOTE_CMD    36
#define EXID_TRUE_JPF   37
#define EXID_TEST 38
#define ATID_QCFG 39
#define ATID_CPMS 40
#define EXID_SMSIDX_EQSKIP 41
#define ATID_CMGF 42
#define ATID_CSDH 43
#define ATID_CSCS 44
#define ATID_CMGR 45
#define EXID_PARSE 46
#define EXID_STUMB 47
#define EXID_REMOTE_TIMEOUT_EJP 48
#define EXID_EXEC_REMOTE_CMD    49
/*
AT+QIDNSIP=0
AT+QIOPEN="TCP","47.94.149.182","1883"
AT+QISEND=21
10 13 00 04 4d 51 54 54 04 02 00 1e 00 07 75 73 65 72 20 69 64
AT+QISEND=28
32 1a 00 03 70 6f 73 00 01 63 76 6f 20 2b 20 63 61 72 20 2b 20 68 6f 75 73 65 21 21





AT+QICLOSE
AT+QIDEACT
ATE1
*/